package com.quanyan.platform.client;

import com.quanyan.api.APIResponse;
import com.quanyan.place.entity.PlaceDubboProvider;
import com.quanyan.platform.response.GatherPlaceResponse;
import com.quanyan.platform.response.MyPlaceResponse;

import java.util.List;

/**
 * Created by jingliu on 17/3/10.
 */
public interface IPlaceDubboService<T> {
	/**
	 * 根据用户uid获取收藏场馆信息
	 * @param uid
	 * @param lat
	 * @param lng
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	APIResponse<List<PlaceDubboProvider>> getColPlaces(Integer uid, Double lat,
	                                                   Double lng, Integer pageNum, Integer pageSize);

	/**
	 * 获取用户去过的场地信息
	 * @param uid
	 * @param lat
	 * @param lng
	 * @return
	 */
	APIResponse<List<PlaceDubboProvider>> getOrderPlaces(Integer uid, Double lat, Double lng);

	/**
	 * 获取24小时即将开始的场馆信息
	 * @param uid
	 * @return
	 */
	APIResponse<MyPlaceResponse> getStartingPlace(Integer uid);

	List<GatherPlaceResponse> getGatherPlaceInfo(List<Integer> placeIds, Integer pageNum, Integer pageSize);

}
